package cn.net.wanji.config;

import cn.net.wanji.service.iml.DataReceiveServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/*
*
 * @author xinyingjie
@Slf4j
@Component
public class DeleteScheduledTask {



    @Scheduled(cron = "0 30 * * * ?")
    public void executeTask() {
        // 在这里编写你的定时任务逻辑
        log.info("每隔三十分钟删除数据");
        DataReceiveServiceImpl.deleteData();
    }
}
*/
